powers of tangent and secant